package com.hissy.rpc.test.server;

import con.hissy.rpc.server.RpcService;

/**
 * Created by zhangyanfei on 2018/10/9.
 *
 * @author zhangyanfei
 * @date 2018/10/09
 */
@RpcService(HelloService.class)
public class HelloServiceImpl implements HelloService {
    public String hello(String name) {
        return "Hello! " + name;
    }

    public String hello(Person person) {
        return "Hello! " + person.getFirstName() + " " + person.getLastName();
    }
}
